package com.neusoft.work.service;

import com.neusoft.work.po.PageResponseBean;
import com.neusoft.work.po.ResponseBean;
import com.neusoft.work.po.Customer;

import java.util.List;

import org.springframework.web.bind.annotation.RequestParam;

public interface CustomerService {
    PageResponseBean<List<Customer>> queryAll(String name,Integer type,Long cur, Long number);

    ResponseBean<Integer> addCustomer(Customer Customer);
    ResponseBean<Integer> updateCustomer(Customer Customer);
    ResponseBean<Integer> deleteCustomer(Integer id);
    ResponseBean<List<Customer>> batchByIds(List<Integer> ids);
    ResponseBean<Customer> getById(Integer id);
}
